ACFWF\Models\Store_Credits\Checkout S

Total Complexity 47
Dependencies 7
Dependents 1
Total lines 537
Lines of code 230
Logical lines of code 115
Comment lines 211
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
_redeem_store_credits()
S
46 6 41
ajax_redeem_store_credits()
S
51 7 23
display_order_review_store_credits_discount_total()
S
54 5 20
apply_store_credit_discount()
S
58 5 15
display_store_credits_discount_row()
S
51 3 28
_is_allow_store_credits()
S
60 4 13
display_store_credits_checkout_redeem_form()
S
53 3 26
deduct_store_credits_discount_from_balance()
S
51 3 25
get_cart_total_before_store_credit_discounts()
S
67 3 7
run()
S
61 2 11
get_instance()
S
70 2 6
initialize()
S
70 2 6
__construct()
S
70 1 6
_get_store_credits_endpoint()
S
79 1 3